package com.sc.show.hytrix;

import com.sc.show.entity.City;
import com.sc.show.feign.CityListFeign;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author shuchang
 * @Date 2018/3/20 上午9:09
 */
@Component
public class CityListFallBack implements CityListFeign{
    @Override
    public List<City> listCity() {
        List<City> list = new ArrayList<>();
        return list;
    }
}
